package com.czd.support.model;

import org.apache.ibatis.type.Alias;

import com.czd.base.model.Page;

/**
 * @author jinma.xiao
 *
 */
@Alias("consignee")
public class Consignee extends Page {

	private static final long serialVersionUID = -148343248210123837L;

	/**
	 * 主键
	 */
	private int id;

	/**
	 * 收货人
	 */
	private String consigneeName;

	/**
	 * 收货地址
	 */
	private String consigneeAddress;

	/**
	 * 手机号码
	 */
	private String consigneeMobile;

	/**
	 * 固定电话
	 */
	private String consigneePhone;

	/**
	 * 邮箱
	 */
	private String consigneeEmail;

	/**
	 * 地址别名
	 */
	private String consigneeAlias;

	/**
	 * 是否是默认地址（0：不是；1：是）
	 */
	private int isDefault;

	/**
	 * 用户Id
	 */
	private int userId;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getConsigneeName() {
		return consigneeName;
	}

	public void setConsigneeName(String consigneeName) {
		this.consigneeName = consigneeName;
	}

	public String getConsigneeAddress() {
		return consigneeAddress;
	}

	public void setConsigneeAddress(String consigneeAddress) {
		this.consigneeAddress = consigneeAddress;
	}

	public String getConsigneeMobile() {
		return consigneeMobile;
	}

	public void setConsigneeMobile(String consigneeMobile) {
		this.consigneeMobile = consigneeMobile;
	}

	public String getConsigneePhone() {
		return consigneePhone;
	}

	public void setConsigneePhone(String consigneePhone) {
		this.consigneePhone = consigneePhone;
	}

	public String getConsigneeEmail() {
		return consigneeEmail;
	}

	public void setConsigneeEmail(String consigneeEmail) {
		this.consigneeEmail = consigneeEmail;
	}

	public String getConsigneeAlias() {
		return consigneeAlias;
	}

	public void setConsigneeAlias(String consigneeAlias) {
		this.consigneeAlias = consigneeAlias;
	}

	public int getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(int isDefault) {
		this.isDefault = isDefault;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	@Override
	public String toString() {
		return "Consignee [id=" + id + ", consigneeName=" + consigneeName
				+ ", consigneeAddress=" + consigneeAddress
				+ ", consigneeMobile=" + consigneeMobile + ", consigneePhone="
				+ consigneePhone + ", consigneeEmail=" + consigneeEmail
				+ ", consigneeAlias=" + consigneeAlias + ", isDefault="
				+ isDefault + ", userId=" + userId + "]";
	}

}
